import * as constants from './MutationTypes'

export default {
  /**
   * @param state
   * @param data 对象
   */
  [constants.SET_OPTION] (state, data) {
    Object.assign(state.options, data)
  }
}
